<?php
        class cartmanage extends model {
           
           function view(){ 
           
          $arraynewdata= $this->getdefault();
            //echo "home";
           
            if($this->userdata['userid']&&(intval($this->userdata['roleid'])>2))
            {
            
            $arraynewdata['cssdata'][]=baseinfo.'/css/theme1/cart.css'; 
       //     $arraynewdata['myscore']=$this->getmyscore($this->userdata['userid']);
            $arraynewdata['bank']=$this->getbank();
            $arraynewdata['banktype']=$this->getbanktype();
            $arraynewdata['currency']=$this->getcurrency();
            
            $arraynewdata['stat']=$this->getstatorderbyshopid($this->userdata['userid']);
            
            $this->loadtemplate('cartmanage',$arraynewdata);  
            
            
            }
            
            

            
           }
        
        
        }
?>
